package com.easyaccount.dao;

import com.easyaccount.model.DailyAcctDict;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DailyAcctDictMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(DailyAcctDict record);

    int insertSelective(DailyAcctDict record);

    DailyAcctDict selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(DailyAcctDict record);

    int updateByPrimaryKey(DailyAcctDict record);

    List<DailyAcctDict> selectByName(@Param("start") int start, @Param("size") int size, @Param("name") String name);

    List<DailyAcctDict> selectAll();

    int selectByNameCount(@Param("name") String name);

    int selectByIdAndNameCount(DailyAcctDict dailyAcctDict);

}